import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Portfolio from '../views/Portfolio.vue'
import About from '../views/About.vue'
import Jobs from '../views/Jobs.vue'
import News from '../views/News.vue'
import WorkTree from '../views/WorkTree.vue'

Vue.use(VueRouter)

export const router = new VueRouter({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/portfolio',
      name: 'Portfolio',
      component: Portfolio
    },
    {
      path: '/about',
      name: 'About',
      component: About
    },
    {
      path: '/jobs',
      name: 'Jobs',
      component: Jobs
    },
    {
      path: '/news',
      name: 'News',
      component: News
    },
    {
      path: '/workTree',
      name: 'WorkTree',
      component: WorkTree
    }
  ]
}) 